package com.jrx.anytxn.customer.dto.creditinfo;

import io.swagger.annotations.ApiModelProperty;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.Size;
import java.io.Serializable;

/**
 * 额度冻结的请求集合的对象
 * @author Qingyao Xing
 * @date 2019/8/16 16:57
 */
public class CreditFreeze implements Serializable {

    private static final long serialVersionUID = -5822111816931261618L;
    /**
     * 产品ID
     */
    @NotBlank(message = "产品ID不能为空")
    @ApiModelProperty(value="产品ID",example="P5563")
    @Size(max = 32,message = "产品ID长度不能大于32位")
    private String productId;

    /**
     * 合同号
     */
    @ApiModelProperty(value="合同号")
    @Size(max = 32,message = "contractNumber长度不能大于32位")
    private String contractNumber;

    /**
     * 冻结/解冻标志 F-冻结 R-解冻
     */
    @ApiModelProperty(value="冻结/解冻标志",example="F")
    @Size(max = 1)
    private String operateType;

    public String getProductId() {
        return productId;
    }

    public void setProductId(String productId) {
        this.productId = productId;
    }

    public String getContractNumber() {
        return contractNumber;
    }

    public void setContractNumber(String contractNumber) {
        this.contractNumber = contractNumber;
    }

    public String getOperateType() {
        return operateType;
    }

    public void setOperateType(String operateType) {
        this.operateType = operateType;
    }
}
